using System;
using System.Collections.Generic;
using System.Text;
using ShockwaveFlashObjects;

namespace Cabal
{
    class FlashPlus : AxShockwaveFlashObjects.AxShockwaveFlash
    {
        bool _right = true;
        public virtual bool RightMouse
        {
            get { return _right; }
            set { _right = value; }
        }

        const int WM_RBUTTONDOWN = 0x204;
        protected override void WndProc(ref System.Windows.Forms.Message m)
        {
            if ((m.Msg == WM_RBUTTONDOWN) && ( _right == false))
                return;

            base.WndProc(ref m);
        }
    }
}
